package com.huaguoguo.cyg.entity.weibo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author huaguoguo
 * @since 2020-02-09
 */
@TableName("wb_media")
@Data
@Builder
public class WbMediaDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 博客多媒体主键id
     */
    @TableId(type = IdType.AUTO)
    @TableField(value = "wb_media_id")
    private Integer wbMediaId;

    /**
     *
     */
    @TableField(value = "media_src")
    private String mediaSrc;

    /**
     * 博客主键
     */
    private String mid;

    /**
     * 多媒体类型
     */
    @TableField(value = "media_type")
    private Integer mediaType;


}
